
#import "BaseResponse.h"

@implementation BaseResponse
@synthesize errorstring;
@synthesize ret;
@synthesize msg = _msg;
@synthesize data = _data;
@synthesize request = _request;
@synthesize errorType;
@synthesize errcode = _errcode;

-(id)init
{
    self = [super init];
    if (self) {
        self.errorType = NO_ERROR;
        self.ret = RET_DEFAULT_ERROR;
        _errcode = 0;
    }
    return self;
}

-(void)dealloc
{
    [errorstring release];
    self.data = nil;
    self.request = nil;
    self.msg = nil;
    [super dealloc];
}

-(void)parse
{
    
}

@end
